package com.jeek.jdbc.myCode.homeWork.entity;

import java.util.Date;

public class Admin {
    private Integer adminId;
    private String username;
    private String password;
    private Date createTime;

    public Admin() {
    }

    public Admin(Integer adminId, String username, String password, Date createTime) {
        this.adminId = adminId;
        this.username = username;
        this.password = password;
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return adminId
     */
    public Integer getAdminId() {
        return adminId;
    }

    /**
     * 设置
     * @param adminId
     */
    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String toString() {
        return "admin{adminId = " + adminId + ", username = " + username + ", password = " + password + ", createTime = " + createTime + "}";
    }
}
